package cn.smartorigin.soas.data;

import java.util.Calendar;

public class Time {
	
	static public int getYear(){
		Calendar cal = Calendar.getInstance();
		int year =cal.get(Calendar.YEAR);  
		return year;
		
	}
	
	static public int getMonth(){
		Calendar cal = Calendar.getInstance();
		int month =cal.get(Calendar.MONTH);  
		return month;
		
	}
	
	static public int getDay(){
		Calendar cal = Calendar.getInstance();
		int day =cal.get(Calendar.DAY_OF_MONTH);  
		return day;
	}
}
